// cover some element-ui styles
$--color-primary: #39d9c6 !default;
$--color-danger: #ff2727 !default;
/* 改变 icon 字体路径变量，必需 */
$--font-path: "~element-ui/lib/theme-chalk/fonts";
@import "~element-ui/packages/theme-chalk/src/index";
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

/* 自定义滚动条的样式 */
.el-table__body-wrapper::-webkit-scrollbar {
  width: 6px; /* 设置滚动条宽度 */
}

.el-table__body-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1; /* 滚动条轨道颜色 */
}

.el-table__body-wrapper::-webkit-scrollbar-thumb {
  background: #39d9c6cc; /* 滚动条手柄颜色 */
  border-radius: 4px;
}
.el-table thead th {
  background-color: #f4f6fa;
  color: #1c1f23;
}

.z-select {
  width: 100%;
  height: 100%;
  .el-input {
    width: 100%;
    height: 100%;
    .el-input__inner {
      width: 100%;
      height: 100%;
      line-height: normal;
      border: 0;
      background: none;
    }
    .el-input__icon {
      line-height: normal;
    }
  }
}

.z-time {
  width: 100% !important;
  height: 100%;
  .el-range__icon {
    line-height: 24px;
  }
}

.z-input {
  width: 100%;
  height: 100%;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.4);
  border: 0;
  overflow: unset;
  outline: none;
  .el-input__inner {
    width: 100%;
    height: 100%;
    line-height: normal;
  }
}
